package org.jeecg.modules.zcgl.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.zcgl.entity.CustomerInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.zcgl.vo.statistical.CustomerPaymentVo;

/**
 * @Description: 客户管理
 * @Author: jeecg-boot
 * @Date: 2020-06-17
 * @Version: V1.0
 */
public interface CustomerInfoMapper extends BaseMapper<CustomerInfo> {

    /**
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<CustomerPaymentVo> queryCustomerPaymentVoList(Page<CustomerPaymentVo> page, @Param("ew") QueryWrapper<CustomerPaymentVo> queryWrapper);

    List<CustomerPaymentVo> queryCustomerPaymentVoList(@Param("ew") QueryWrapper<CustomerPaymentVo> queryWrapper);
}
